Skip to content

Conversation

@jaenrig-ifx
Copy link
Member

@jaenrig-ifx jaenrig-ifx commented Jan 9, 2026

  • Added machine.Pin doc sections to quickref. Only variations and specific port configuration is described.
  • Added links to relevant docs in separate .rst file that can be included in the other docs as required.

https://ifx-micropython-psoc-edge.readthedocs.io/en/machine-pin-docs/psoc-edge/quickref.html#

.. note::

All pins on the same port share the same interrupt line. Therefore, only one priority can be set for all pins on the same port.
If multiple pins configure interrupts for the same port, the highest priority will be used.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mm how does it work then if you have 2 pins in same port with interrupt configuration? How do you know which gets executed first?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The interrupt executed first will be the first taking place (first come first served) when it comes to the same port pins. As they have both the same priority level, none should be pausing the other to take precedence.
Or you mean how do we know which interrupt is triggering the callback?

Copy link

@LinjingZhang LinjingZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jaenrig-ifx
Copy link
Member Author

@ederjc you can still review when you have the chance 👍 Still we have to discuss some of the optional features.

@jaenrig-ifx jaenrig-ifx merged commit 0a71aea into machine-pin Jan 12, 2026
18 checks passed
@jaenrig-ifx jaenrig-ifx deleted the machine-pin-docs branch January 12, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants